package com.bincloud.vue.admin.web.dto.ums.resource;

import com.bincloud.vue.admin.common.model.dto.request.BasePageReqDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description: 资源信息分页查询入参
 * @Author: bincloud, mvpzhou
 * @Date: Create By bincloud, mvpzhou on 2022/2/18
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "资源信息分页查询入参")
public class UmsResourcePageReqDTO extends BasePageReqDTO {

    @ApiModelProperty(value = "资源名称")
    private String name;

    @ApiModelProperty(value = "资源代码")
    private String code;

    @ApiModelProperty(value = "资源图标")
    private String icon;

    @ApiModelProperty(value = "资源路径")
    private String url;

    @ApiModelProperty(value = "资源类型(0 目录 1 菜单 2 按钮/接口)")
    private Integer type;

    @ApiModelProperty(value = "资源排序")
    private Integer sort;

    @ApiModelProperty(value = "状态(0 启用 1 禁用)")
    private Integer state;

}
